package indigo.shiro.config;

import static indigo.shiro.config.ShiroAnnotationsAuthorizationRegistrar.DEFAULT_SECURITY_MANAGER_BEAN_NAME;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Import;

@Documented
@Retention(RUNTIME)
@Target(TYPE)
@Import({ ShiroConfiguration.class, ShiroAnnotationsAuthorizationRegistrar.class })
public @interface EnableShiroAnnotationsAuthorization {
	String securityManagerRef() default DEFAULT_SECURITY_MANAGER_BEAN_NAME;
}
